import type {Id} from "@/type/data";

export interface SysMenuData extends Id {

  pid: string,

  menuName: string,

  icon: string,

  componentPath: string,

  route: string,

  authorize: string,

  sort: number,

  status: boolean,

  hideInMenu: boolean,
  children: SysMenuData[];

  menu: boolean,

  color: string

}

export interface SysMenuParams extends Id {

  button?: boolean

}

export interface SysMenuAdd extends Id {

  pid: string,

  menuName: string,

  icon: string,

  componentPath: string,

  route: string,

  authorize: string,

  sort: number,

  status: boolean,
  hideInMenu: boolean,
  menu: boolean,

  color: string

}


export interface SysMenuDetail extends Id {

  pid: string,

  menuName: string,

  icon: string,

  componentPath: string,

  route: string,

  authorize: string,

  sort: number,

  menu: boolean


}



